package jemuillot.BiohazardPanelPuzzle;

public class LogicalLight {

	protected boolean lighting;

	public LogicalLight(LogicalLight light) {
		lighting = light.lighting;
	}

	public LogicalLight(boolean lighting) {
		this.lighting = lighting;
	}

	public boolean getLighting() {
		return lighting;
	}

	public void toggle() {
		lighting = !lighting;
	}

	public void turnOn(boolean on) {
		lighting = on;
	}

}
